// =====================================================
// UIFlickrContent class
// =====================================================
// Inheritance
UIFlickrContent.InheritsFrom(UISimpleControl);

function UIFlickrContent()
{
    // Methods
    this.Construct = Construct;

    // Method definitions
    function Construct(id, pos, params)
    {
        // set HTML tag used for this control
        this.SetTag("uiflickrcontent");

        // call parent constructor
        parent = Object.getPrototypeOf(this);
        parent.Construct(id, pos);

        // redefine/add more properties
        this.SetProperty("Size",        new Size("493px", "410px"));
        this.SetProperty("BackImage",   "url('Images/flickrcontent.jpg')");

		this.AddProperty("InstructionControl");
        this.AddProperty("PhotostreamControl");
        this.AddProperty("ContactsControl");
        this.AddProperty("InterestingControl");
        
    }
}